package com.example.mall.user.svc.infr.mapper;


import com.example.mall.common.ddd.BaseRepository;
import com.example.mall.user.svc.domain.model.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.Optional;

public interface UserMapper extends BaseRepository<User, Long> {

    Optional<User> byUniqueId(@Param("uniqueId") String uniqueId);

}